<?php 
/**
 * 网站前台错误提示页面
 * @var unknown_type
 * @author machao
 */
define('_VIEW_MODEL_','default');
require_once("./init.php");

/****加载错误信息代码****/
require_once INC.'/error.ini.php';
if(isset($err_id) && isset($errorMsgCode[$err_id])){
	$errorMsg = $errorMsgCode[$err_id];
}else if(isset($errorMsgCode['undefined'])){
	$errorMsg = $errorMsgCode['undefined'];
}else{
	$errorMsg = '未知错误';
}

$smartyObj->assign('error_msg',$errorMsg);
$smartyObj->assign('back_url',empty($back_url)?'/':$back_url);
header("Content-type:text/vnd.wap.wml;charset=utf-8");
$smartyObj->display('error.tpl');
?>